﻿@model PageList<LessonLog>
@{
    Layout = null;
}
@foreach (var record in Model)
{
    <li>
        <a href="@Url.Action("LearnHistoryDetails", new {id = record.Id})" class="item-link item-content">
            <div class="item-inner">
                <div class="item-title-row">
                    <div class="item-title">@record.CoursewareName</div>
                    <div class="item-after"></div>
                </div>
                <div class="item-subtitle">
                    @DateTimeHelper.FormatDateHasSecond(record.CreateDateTime)
                    @record.RecordTypeName
                </div>
                <div class="item-text">
                    @if (record.Result)
                    {
                        <span class="color-success">已通过</span>
                    }
                    else
                    {
                        <span class="color-danger">未通过</span>
                    }
                </div>
            </div>
        </a>
    </li>
}